package com.example.design.responsibilityChainDemo;

public class EatChain extends Responsibility {
    @Override
    public void deal() {
        System.out.println("eat");
        nextService();
    }
}
